Commit
f60a469a34 removed vfade_offset in favor of fade_margins.
Util.ensureActorVisibleInScrollView function needs to be adjusted
accordingly.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4080
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1802>
let offset = 0;
let vfade = scrollView.get_effect("fade");
if (vfade)
- offset = vfade.vfade_offset;
+ offset = vfade.fade_margins.top;
let box = actor.get_allocation_box();
let y1 = box.y1, y2 = box.y2;